<div class="epc-parts-update">
  <ag-grid-angular
    style="width: 100%;margin-bottom:16px;min-height: 500px;"
    class="ag-theme-balham"
    [rowData]="_rowData"
    [rowHeight]="32"
    [enableColResize]="true"
    [suppressLoadingOverlay]="true"
    [suppressNoRowsOverlay]="true"
    [suppressContextMenu]="true"
    [suppressDragLeaveHidesColumns]="true"
    [suppressMovableColumns]="true"
    [columnDefs]="columnDefs"
    [suppressRowClickSelection]="suppressRowClickSelection"
    [rowSelection]="rowSelection"
    [toolPanelSuppressSideButtons]="true"
    [localeText]="localeText"
    [singleClickEdit]="true"
    [frameworkComponents]="frameworkComponents"
    [stopEditingWhenGridLosesFocus]="false"
    [enterMovesDownAfterEdit]="true"
    [enterMovesDown]="false"
    (gridReady)="onGridReady($event)"
    [context]="context"
    [domLayout]="domLayout"
    [class.ag-theme-height]="domLayout !== 'autoHeight'"
    [class.ag-theme-autoHeight]="domLayout == 'autoHeight'"
  >
  </ag-grid-angular>
  <div>
    <button apes-button apesType="primary" (click)="saveData()" [disabled]="saveDisabled">另存为单据</button>
    单号为： {{data.id ? data.id : ''}}
  </div>
</div>
